﻿
Public Class hddoslite2
    Inherits hddoslite(Of httpContext)

    Protected Overrides Function isInternalRequest(ByVal context As httpContext) As Boolean
        Return context.isinternalRequest()
    End Function

    Protected Overrides Function requestFullUrl(ByVal context As httpContext) As String
        Return context.url().full()
    End Function

    Protected Overrides Function requestIp(ByVal context As httpContext) As String
        Return context.requestIp()
    End Function

    Protected Overrides Function requestPathQuery(ByVal context As httpContext) As String
        Return context.url().pathquery()
    End Function

    Protected Overrides Function requestReferer(ByVal context As httpContext) As String
        Return context.referer()
    End Function

    Protected Overrides Function requestResource(ByVal context As httpContext) As String
        Return context.url().path()
    End Function

    Public Sub New(ByVal config As configParser, Optional ByVal section As String = configNaming.hddos.name)
        MyBase.New(config, section)
    End Sub
End Class